package com.yidao.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.yidao.core.controller.BaseController;

@Controller
@RequestMapping("/system")
public class SystemController extends BaseController{
	

	@RequestMapping("/")
	public ModelAndView index() {
		return new ModelAndView("/system/main");
	}
	
	@RequestMapping("/backups")
	public ModelAndView backups(){
		ModelAndView mv = new ModelAndView();
		
		mv.setViewName("/system/backups/main");
		return mv;
	}
	
	@RequestMapping("/plugins")
	public ModelAndView plugins(){
		return null;
	}
}
